#include <stdio.h>
#include <stdint.h>

int main() {
    uint32_t a=0x1020304;
    uint8_t *p = (uint8_t*)&a;
    printf("%.2x %.2x %.2x %.2x\n",*(p),*(p+1),*(p+2),*(p+3));

    return 0;
}

/* 
04 03 02 01

 */